from flask import Flask,request
app = Flask(__name__)

@app.route("/login")
def login():
    username = request.args.get("username")
    password = request.args.get("password")
    print(username)
    print(password)
    return "登录成功"

if __name__ == "__main__":
    app.run()